Skip to content

security fixes and version bumps: - #87

Open
figulusproject wants to merge 4 commits into
dachev:masterfrom
figulusproject:master
Open

security fixes and version bumps:#87
figulusproject wants to merge 4 commits into
dachev:masterfrom
figulusproject:master

Conversation

@figulusproject

@figulusproject figulusproject commented Jul 30, 2026

Copy link
Copy Markdown
  • update lockfile from v1 to v3
  • update glob from 7 to ^12 (fixes 2 high severity vulnerabilities)
  • update underscore from ^1.12.1 to ^1.13.7 (fixes high severity vulnerability)
  • update postinstall.js to use globSync (required after updating glob version)
  • pin node-addon-api to ^2.0.0 (was "*", which resolved to a version requiring C++17's <string_view>, unsupported by the VS2015/MSBuild 14.0 toolchain used in CI)
  • move NODE_API_MODULE out of the NodeCld namespace in src/cld.cc (VS2015's non-conformant name lookup misresolved the macro's internal Napi::RegisterModule call as a member of NodeCld::Napi, causing error C2039)
  • drop Node 8/10/12 from the AppVeyor test matrix and bump the CI image to Visual Studio 2022 (no glob release fixes the brace-expansion DoS advisory GHSA-mh99-v99m-4gvg while supporting Node <20, and VS2015/MSBuild 14.0 lacks the C++17 support Node 20/22 addon builds need)
  • bump package.json engines to "20 || >=22" to match the new minimum supported Node version
  • version++

- update lockfile from  v1 to v3
- update glob from 7 to ^12 (fixes 2 high severity vulnerabilities)
- update underscore from ^1.12.1 to ^1.13.7 (fixes high severity vulnerability)
- update postinstall.js to use globSync (required after updating glob version)
- version++
- pin node-addon-api to ^2.0.0 (was "*", which resolved to a version requiring C++17's <string_view>, unsupported by the VS2015/MSBuild 14.0 toolchain used in CI)
- update package-lock.json
- move NODE_API_MODULE out of the NodeCld namespace (VS2015's non-conformant name lookup misresolves the macro's internal Napi::RegisterModule call as a member of NodeCld::Napi, causing error C2039) - add using NodeCld::Init declaration since NODE_API_MODULE token-pastes its argument and can't take a qualified name
- no glob release fixes the brace-expansion DoS advisory (GHSA-mh99-v99m-4gvg) while supporting Node <20, and glob@^12 itself requires "20 || >=22"
- drop Node 8/10/12 from the AppVeyor test matrix
- bump os to Visual Studio 2022 (VS2015/MSBuild 14.0 lacks the C++17 support Node 20/22 addon builds need)
 - bump package.json engines to "20 || >=22"
 - update package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant